package cn.tx.config;

import cn.hutool.bloomfilter.BitMapBloomFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Mxb
 * @version 1.0
 * @date 2020/10/13 22:18
 */
@Configuration
public class BloomFilterConfig {
    @Bean
    public BitMapBloomFilter bitMapBloomFilter(){
        return new BitMapBloomFilter(Integer.MAX_VALUE);
    }
}
